package com.feigncloud.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 通过此order工程调用cloud-consul-consumer-payment服务测试openfegin
 * 业务代码省略
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class OrderFeignMain {

    public static void main(String[] args) {
        SpringApplication.run(OrderFeignMain.class,args);
    }

}
